/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.bsc.minacommand.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;
import java.util.List;

/**
 *
 * @author penn
 */
@Target({ElementType.TYPE,ElementType.FIELD})  
@Retention(value=RetentionPolicy.RUNTIME) 
public @interface VariableInfo {
    
    //是否需要解析,true需要解析
    public boolean isOpen() default true;
    //是否是可变字段,true可变
    public boolean vary() default false;
    //字段长度
    public int length() default 4;
    //字段类型
    public Class cType() default List.class;
    //List内对象类型
    public Class lType() default Object.class;
}
